package com.itljm.cxrMarket.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itljm.cxrMarket.entity.SysPermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itljm.cxrMarket.entity.SysRolePermission;
import com.itljm.cxrMarket.entity.SysUser;
import com.itljm.cxrMarket.entity.dto.RolePermissionDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysPermissionMapper extends BaseMapper<SysPermission> {
    List<SysPermission> selectAllPermission();
    List<SysPermission> selectPermissionPage(Page<SysPermission> page, @Param("ew") Wrapper<SysPermission> entityWrapper);
}




